package com.lingnan.servicebase.excetioncontrooller;

import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author zzd
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class LingNanException extends RuntimeException{
    /**
     * 响应状态码
     */
    @ApiModelProperty(value = "状态码")
    private Integer code;
    /**
     * 响应错误信息
     */
    @ApiModelProperty(value = "错误信息")
    private String msg;


}
